<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>分页插件示例</title>
</head>
<body>
<div id="paging"></div>
</body>
<script type="text/javascript" src="./jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="./layer/layer.js"></script>
<script type="text/javascript" src="./royui.min.js"></script>
<script type="text/javascript">
    $(function (){
        let $r = new royui();
        $r.paging({
            elem: '#paging',
            count: 3442,
            page_size: 15,
            first_page: true,
            prev_page: '前一页',
            next_page: true,
            last_page: true,
            show_pages: 10,
            show_total: 1,
            jump_to: true
        })
    })
</script>
</html>